<html xmlns="http://www.w3.org/1999/xhtml">
<head><title></title>
    <script src="https://unpkg.com/vue@next"></script>
    <style>
.static {
	width: 100px;
	height: 100px;
}
.active {
	background: green;
}
.text-danger {
	background: red;
}
</style>
</head>
<body>
    <div id="app">
    <div class="static" :class="[activeClass, errorClass]"></div>
</div>

<script>
const app = {
    data() {
        return {
    activeClass: 'active',
    errorClass: 'text-danger'
    }
    }
    }

    Vue.createApp(app).mount('#app')
</script>
</body>
</html>
